debts
All debt records entered as part of user's fact find
GraphQL Schema
extend type query {
"""All debt records entered as part of user's fact find"""
debts(userId: ID!): [Debt]
}
Arguments
Name | Type | Description |
---|---|---|
userId | ID! | Unique ID of the user |
Response Shape
This query returns [Debt]
Name | Type | Description |
---|---|---|
id | UUID! | Unique ID of the object |
productType | DebtType! | |
userId | ID! | Unique ID of the user |
owners | [Person] | |
name | String | |
provider | Provider | |
balance | Money | |
repaidMonthly | Boolean | |
monthlyRepayment | Money | |
clearedOnDeath | Boolean | |
arePaymentsUpToDate | Boolean | |
arrears | Money | |
isComplete | Boolean! | |
maturityDate | Date | Car Loan / Hire Purchase Agreement / Personal Loan / Other |
endDate | Date | Loan |
mortgageType | MortgageType | Mortgage |
mortgageYearsLeft | Int | Mortgage |
isMainMortgage | Boolean | Mortgage |
hasPaymentProtectionInsurance | Boolean | Mortgage |
interestRate | MoneyInput | |
owner | OwnerType | |
value | MoneyInput | |
paidOffMonthly | Boolean |